﻿using BootstrapBlazor.Components;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TrackSystem.Entities.Dtos.Equip
{
    public class EquipDto
    {
        /// <summary>
        /// 统一标识符
        /// </summary>
        [Key]
        [Display(Name = "ID")]
        [AutoGenerateColumn(Order = 1)]
        public int Id { get; set; }

        /// <summary>
        /// 通道名称
        /// </summary>
        [Required]
        [Display(Name = "名称")]
        [AutoGenerateColumn(Order = 10, Filterable = true, Searchable = true)]
        public required string Name { get; set; }

        /// <summary>
        /// 通道描述
        /// </summary>
        [Display(Name = "描述")]
        [AutoGenerateColumn(Order = 20, Filterable = true, Searchable = true)]
        public string? Description { get; set; }
    }
}
